/**
 * Created by Lin Hui on 2016/12/13.
 */
+function($){
    $.extend({
        geek:{
            changeMobile:function(){
                $('#codeBtn').click(function(){
                    $.ajax({
                        url:ThinkPHP.U('Admin/Public/getCode'),
                        data:{mobile:$('#mobile').val()},
                        type:'post',
                        dataType:'json',
                        success:function(resp){
                            layer.msg(resp.msg);
                        }
                    })
                });
            }
        }
    });
}(jQuery);